package com.views
{
	import com.messagers.AppLoadExportUISkin;
	
	import feathers.controls.Label;
	import feathers.display.Scale9Image;
	import feathers.textures.Scale9Textures;
	
	import flash.geom.Rectangle;
	
	import starling.display.Sprite;
	
	public class UILayer extends Sprite
	{
		public const NAME : String = "UILayer";
		
		private var bg : Scale9Image;
		private var bgtexture : Scale9Textures;
		
		public function UILayer()
		{
			super();
			
			bgtexture = new Scale9Textures(AppLoadExportUISkin.BgTexture,new Rectangle(10,28,30,20));
			var uibaseimg : Scale9Image = new Scale9Image(bgtexture);
			uibaseimg.width = 155;
			uibaseimg.height = 180;
			this.addChild(uibaseimg);
			
			var label : Label = new Label();
			label.text = "UILayer";
			this.addChild(label);
		}
	}
}